package com.ycfmedical.bed.bean;

import android.net.Uri;
import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by Egoist on 2017-04-20.
 */

public class Videoinfo implements Parcelable {
    
    private String videoUrl;
    private int videoThumbs;
    private String videoName;

    public Videoinfo(String videoUrl, int videoThumbs, String videoName) {
        this.videoUrl = videoUrl;
        this.videoThumbs = videoThumbs;
        this.videoName = videoName;
    }

    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public int getVideoThumbs() {
        return videoThumbs;
    }

    public void setVideoThumbs(int videoThumbs) {
        this.videoThumbs = videoThumbs;
    }

    public String getVideoName() {
        return videoName;
    }

    public void setVideoName(String videoName) {
        this.videoName = videoName;
    }

    protected Videoinfo(Parcel in) {
        videoUrl = in.readString();
        videoThumbs = in.readInt();
        videoName = in.readString();
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(videoUrl);
        dest.writeInt(videoThumbs);
        dest.writeString(videoName);
    }

    @Override
    public int describeContents() {
        return 0;
    }

    public static final Creator<Videoinfo> CREATOR = new Creator<Videoinfo>() {
        @Override
        public Videoinfo createFromParcel(Parcel in) {
            return new Videoinfo(in);
        }

        @Override
        public Videoinfo[] newArray(int size) {
            return new Videoinfo[size];
        }
    };
}
